package com.atguigu.lease.web.app.service;

import com.atguigu.lease.web.app.vo.user.LoginVo;
import com.atguigu.lease.web.app.vo.user.UserInfoVo;

public interface LoginService {

    /**
     * @param phone
     * @Desceription: 获取短信验证码
     * @Return: void
     * @Author: yangchengbao
     * @Date: 2025-01-09 09:01:41
     */
    void getCode(String phone);

    /**
     * @param loginVo
     * @Desceription: 登录
     * @Return: java.lang.String
     * @Author: yangchengbao
     * @Date: 2025-01-09 09:01:92
     */
    String login(LoginVo loginVo);

    /**
     * @param userId
     * @Desceription: 获取用户信息
     * @Return: com.atguigu.lease.web.app.vo.user.UserInfoVo
     * @Author: yangchengbao
     * @Date: 2025-01-09 10:01:32
     */
    UserInfoVo getUserInfoByUserId(Long userId);
}
